import React, { Component } from 'react';

// 导入路由模块
import { HashRouter as Router,Switch} from 'react-router-dom';
// 导入路由配置
import router from './router';
import { Card, Divider } from 'antd';

// 导入页面组件
class App extends Component {
    constructor(props){
        super(props);
    }
    render() {
        return (
            <Router>
                <Card>
                    {router()}
                </Card>
           </Router>
        )
    }
}

export default App;